
import Tool from '../view/tool/tool.vue'
import Pbh from "../view/jsLib/arr/bph.vue"
import ToTree from "../view/jsLib/arr/toTree.vue"
import Fdje from '../view/jsLib/xnyh/fdje.vue'
// 防抖节流
const jsRouter={
  path: '/jsLib',
  name: 'jsLib',
  component:Tool,
  children:[
    {
      index:"0",
      path: '/jsLib/js',
      name: 'pbh',
      component: Pbh,
      title:"数组扁平化"
    },
    {
      index:"1",
      path: '/jsLib/toTree',
      name: 'toTree',
      component: ToTree,
      title:"数组转树形结构"
    },
    {
      index:"2",
      path: '/jsLib/fdje',
      name: 'fdje',
      component: Fdje,
      title:"防抖节流"
    },
  ]
}
export default jsRouter